.fa-dialog {
	--height: 90%;
	--fa-dialog-header-height: 40px;
	--fa-dialog-footer-height: 45px;
	padding: 0 8px;
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
	width: var(--el-dialog-width, 90%);
	max-height: var(--height);
	font-size: var(--el-font-size-base);
	transition:
		width var(--el-transition-duration),
		height var(--el-transition-duration);
	.el-dialog__header {
		height: var(--fa-dialog-header-height);
		border-bottom: 1px solid var(--el-border-color-lighter);
		padding: 0;
		display: flex;
		align-items: center;
		.fa-dialog__header-title {
			flex: 1;
		}
		.fa-dialog__header-icon {
			width: 30px;
			height: 100%;
			display: flex;
			align-items: center;
			justify-content: center;
			cursor: pointer;
			.el-icon {
				width: 100%;
				height: 100%;
				font-size: var(--el-font-size-large);
				color: var(--el-color-info);
			}
		}
	}
	.el-dialog__body {
		overflow: hidden;
		padding: 8px;
		flex: 1;
		display: flex;
		flex-direction: row;
		> .el-scrollbar {
			height: inherit;
			flex: 1;
			> .el-scrollbar__wrap {
				> .el-scrollbar__view {
					height: 100%;
				}
			}
		}
	}
	.el-dialog__footer {
		height: var(--fa-dialog-footer-height);
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: right;
		border-top: 1px solid var(--el-border-color-lighter);
	}
	// 撑满
	&.fa-dialog__fill-height {
		height: var(--height);
	}
	// 全屏
	&.fa-dialog__fullscreen {
		--el-dialog-width: 100% !important;
		--height: 100% !important;
		height: var(--height);
	}
}

.fa-dialog-small {
	--fa-dialog-header-height: 35px;
	--fa-dialog-footer-height: 40px;
	padding: 0 6px;
	font-size: var(--el-font-size-extra-small);
	.el-dialog__header {
		.fa-dialog__header-icon {
			width: 25px;
			.el-icon {
				font-size: var(--el-font-size-medium);
			}
		}
	}
}
